<?php
/**
 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<jdoc:include type="head" />

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rcj/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rcj/css/superfish.css" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php if($this->direction == 'rtl') : ?>
	<link href="<?php echo $this->baseurl ?>/templates/rcj/css/template_rtl.css" rel="stylesheet" type="text/css" />
<?php endif; ?>

</head>
<body id="page_bg">
<a name="up" id="up"></a>
<div class="center" align="center">
	<div id="wrapper">
		<div id="header">
					<div id="logo"></div>
					<div id="top">
					<jdoc:include type="modules" name="top" />
					</div>
		</div>

		<div id="topmenu">
			<div id="superfish">
			<jdoc:include type="modules" name="topmenu"  style="xhtml" />
			</div>
		</div>

		<div class="clr"></div>

		<div id="page">
			<div id="whitebox_m">
				<div id="area">

					<div id="pathway">
						<jdoc:include type="modules" name="breadcrumb" />
					</div>
					<div id="search">
						<jdoc:include type="modules" name="user4" />
					</div>
					<div class="clr"></div>
					<jdoc:include type="message" />

					<div id="maincolumn_full">
					
						<table class="nopad">
							<tr valign="top">
								<td>
<?php if ($this->error->code) : /* check if we are on error page, if yes - display error message */ ?>
<strong><?php echo $this->error->code ?> - <?php echo $this->error->message ?></strong></p>
 <?php endif; ?>

								</td>
							</tr>
						</table>

					</div>
					<div id="rightcolumn">
					</div>
					<div class="clr"></div>
				</div>
				
				
				<div class="clr"></div>
			</div>
		<div id="footerspacer"></div>
	</div>

	<div id="footer">
		<p id="syndicate">
			<jdoc:include type="modules" name="syndicate" />
		</p>
		<p id="power_by">
			Design: Hery Eugene &copy; 2010 - <a href="http://hery.serasera.org">hery.serasera.org</a>  - 
			<?php echo JText::_('Powered by') ?> <a href="http://www.joomla.org">Joomla!</a>.
			<?php echo JText::_('Valid') ?> <a href="http://validator.w3.org/check/referer">XHTML</a> <?php echo JText::_('and') ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
		</p>
	</div>
</div>
<jdoc:include type="modules" name="debug" />
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18214613-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>
